<?php
$this->breadcrumbs = array(
	'凭证账本管理'//=>array('index'),
//'Manage',
);

$this->userActions = array(
	//array('label'=>'List AccountTokenProject', 'url'=>array('index')),
	array(
		'label' => '新建账本',
		'url' => array(
			'create'
		)
	),
);

?>

<h1>管理账本</h1>
<?php $this
	->widget('zii.widgets.grid.CGridView',
		array(
			'id' => 'account-token-project-grid',
			'dataProvider' => $model->search(),
			'filter' => $model,
			'columns' => array(
				//'id',
				'name',
				'note',
				array(
					'name' => 'inCompany',
					'type' => 'boolean',
					'filter' => JHTML::getBooleanValues()
				),
				'createTime',
				//'createUserId',
				/*
				'updateTime',
				'updateUserId',
				 */
				array(
					'class' => 'CButtonColumn',
				),
			),
		));
?>
